
const mongoose = require('mongoose')
// const schema = new mongoose.Schema({
//   userName: {type: String, require: true}, // 用户名
//   mobile: {type: String, require: true},
//   email: {type: String, require: true},
//   password: {type: String, require: true}
//   }
// )

mongoose.model('user', {
  userName: String, // 用户名
  mobile: String,
  email: String,
  password: String
})
